package ${packageName}.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import ${packageName}.entity.${entityName};
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface ${entityName}Dao extends BaseMapper<${entityName}> {
    int deleteByPrimaryKey(Long id);

    int insert(${entityName} record);

    int insertSelective(${entityName} record);

    ${entityName} selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(${entityName} record);

    int updateByPrimaryKey(${entityName} record);
}